<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:t="http://myfaces.apache.org/tomahawk"
		xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
	>
<h:head>
	<title>estudo Application</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<h:outputStylesheet name="css/screen.css" />/
		
		<link rel="shortcut icon" href="estudo/src/main/webapp/imagens/datasus-icone.ico"/>
        <link rel="icon" type="image/x-icon" href="images/datasus-icone.ico"/>
         <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <h:outputStylesheet name="css/reset.css"   />
        <h:outputStylesheet name="css/layout.css"   />
        <h:outputStylesheet name="css/barra-governo.css"   />
        <h:outputStylesheet name="css/jquery-ui.css"   />
        <h:outputStylesheet name="css/form.css"   />
        <h:outputStylesheet name="css/menu.css"   />
        <h:outputStylesheet name="css/screen.css"   />
        <h:outputScript name="js/jquery.maskedinput-1.2.2.js" />
         <h:outputScript name="js/jquery.js" />
          <h:outputScript name="js/jquery.meio.mask.js" />
            <h:outputScript name="js/jquery.maskMoney.js" />
          
        
</h:head>
<h:body>
	<h:panelGroup id="page" layout="block">
		<h:form id="formTemplate" >
		<div style="padding-left: 900px" >
			<h:commandLink value="Logout" action="#{loginBean.logout}" ></h:commandLink>
		</div>
		
			<div id="barraMenu"><rich:toolbar height="26px">
				<rich:dropDownMenu mode="ajax">
					<f:facet name="label">
						<h:panelGrid cellpadding="0" cellspacing="0" columns="2" style="vertical-align:middle">
							<h:outputText value="Cadastro" />
						</h:panelGrid>
					</f:facet>
					<rich:menuItem submitMode="client" onclick="">
						<h:commandLink value="Task" action="#{baseView.redirect}" ></h:commandLink>
						 <f:setPropertyActionListener target="#{baseView.foward}" value="task"/>
					</rich:menuItem>
					<rich:menuItem submitMode="client" onclick="">
						<h:commandLink value="Home" action="#{baseView.redirect}" >
							 <f:setPropertyActionListener target="#{baseView.foward}" value="home"/> 
						</h:commandLink>
					</rich:menuItem>
					<rich:menuItem submitMode="client" onclick="">
						<h:commandLink value="Cliente" action="#{baseView.redirect}" >
							 <f:setPropertyActionListener target="#{baseView.foward}" value="cliente"/> 
						</h:commandLink>
					</rich:menuItem>
				</rich:dropDownMenu>
			</rich:toolbar></div>
		</h:form>
		<h:panelGroup id="container" layout="block">
<!--			<h:panelGroup id="sidebar" layout="block">-->
<!--				<h1>Sidebar</h1> Content for the sidebar goes here-->
<!--			</h:panelGroup>-->
			<h:panelGroup id="content" layout="block">
				<ui:insert name="content">Main Content</ui:insert>
			</h:panelGroup>
		</h:panelGroup>
		<h:panelGroup id="footer" layout="block">#{messages.footerText}<br />Generated using the Knappsack Java EE Maven Archetypes from <a
				href="http://www.AndyGibson.net">www.AndyGibson.net</a>
		</h:panelGroup>
	</h:panelGroup>

</h:body>
</html>
